<template>
    <div>
        <div class="breadcrumb_nav">
            <BreadCrumb></BreadCrumb>
        </div>
        <div class="find_stu_info">
            <h1>学生信息查询表</h1>
            <div class="stu_info_nav">
                <el-row>
                    <el-col :span="8" :offset="5">
                        <el-button @click="$router.push({
                            name: 'personalInfo'
                        })">某个学生信息查询</el-button>
                    </el-col>
                    <el-col :span="8">
                        <el-button @click="$router.push({
                            name: 'allInfo'
                        })">所有学生信息查询</el-button>
                    </el-col>
                </el-row>
            </div>
            <router-view></router-view>
        </div>
    </div>
</template>

<script>
export default {

}
</script>

<style lang="scss" scoped>
div {
    .breadcrumb_nav{
        height: 30px;
    }
    .find_stu_info {
        h1 {
            text-align: center;
            margin-bottom: 20px;
        }

        .stu_info_nav {
            height: 50px;
        }
    }
}
</style>